cmake_minimum_required(VERSION 3.5)

project(ThreadPoolExample LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

include_directories(.)
add_executable(test_thread_pool test_thread_pool.cpp)
target_link_libraries(test_thread_pool ThreadPool)

add_executable(test_async_call test_async_call.cpp)
target_link_libraries(test_async_call ThreadPool)
